package org.jeecg.modules.wuda.entity;

import java.io.Serializable;
import java.io.UnsupportedEncodingException;
import java.util.Date;
import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecg.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @Description: 土壤养分指标表
 * @Author: jeecg-boot
 * @Date:   2022-02-27
 * @Version: V1.0
 */
@Data
@TableName("wuda_soil_nutrient")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="wuda_soil_nutrient对象", description="土壤养分指标表")
public class WudaSoilNutrient implements Serializable {
    private static final long serialVersionUID = 1L;

	/**主键*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "主键")
    private String id;
	/**创建人*/
    @ApiModelProperty(value = "创建人")
    private String createBy;
	/**创建日期*/
    @ApiModelProperty(value = "创建日期")
    private Date createTime;
	/**更新人*/
    @ApiModelProperty(value = "更新人")
    private String updateBy;
	/**更新日期*/
    @ApiModelProperty(value = "更新日期")
    private Date updateTime;
	/**所属部门*/
    @ApiModelProperty(value = "所属部门")
    private String sysOrgCode;
	/**地块id*/
	@Excel(name = "地块id", width = 15, dictTable = "wuda_field", dicText = "lot_number", dicCode = "id")
	@Dict(dictTable = "wuda_field", dicText = "lot_number", dicCode = "id")
    @ApiModelProperty(value = "地块id")
    private String fieldId;
	/**监测时间*/
	@Excel(name = "监测时间", width = 15, format = "yyyy-MM-dd")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "监测时间")
    private Date monitoringTime;
	/**全磷(%)*/
	@Excel(name = "全磷(%)", width = 15)
    @ApiModelProperty(value = "全磷(%)")
    private String totalPhosphorus;
	/**全氮(%)*/
	@Excel(name = "全氮(%)", width = 15)
    @ApiModelProperty(value = "全氮(%)")
    private String totalNitrogen;
	/**全钾(%)*/
	@Excel(name = "全钾(%)", width = 15)
    @ApiModelProperty(value = "全钾(%)")
    private String totalPotassium;
	/**有机质(g/kg)*/
	@Excel(name = "有机质(g/kg)", width = 15)
    @ApiModelProperty(value = "有机质(g/kg)")
    private String organicMatter;
	/**速效氮(mg/L)*/
	@Excel(name = "速效氮(mg/L)", width = 15)
    @ApiModelProperty(value = "速效氮(mg/L)")
    private String availableNitrogen;
	/**速效磷(mg/L)*/
	@Excel(name = "速效磷(mg/L)", width = 15)
    @ApiModelProperty(value = "速效磷(mg/L)")
    private String availablePhosphorus;
	/**速效钾(mg/L)*/
	@Excel(name = "速效钾(mg/L)", width = 15)
    @ApiModelProperty(value = "速效钾(mg/L)")
    private String availablePotassium;
}
